<%@ include file="/WEB-INF/jsp/common/include.jsp" %>
<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<tiles:insertDefinition name="adminLayout.tiles">
  <tiles:putAttribute name="pageTitle">FlatAdDao Viewer</tiles:putAttribute>
  <tiles:putAttribute name="adminFlatAdDaoTab" cascade="true">selected</tiles:putAttribute>
  <tiles:putAttribute name="body" cascade="true">
    <form:form method="POST" commandName="flatAdCommand">
      <label for="id">FlatAd.id</label>
      <form:input path="id" />
      <form:errors path="id" cssClass="errorBlock" />
      <p>
        <button type="submit">Показать</button>
      </p>
    </form:form>
    <p>
      Id: ${flatAd.id}
    </p>
    <p>
      Street: ${flatAd.street}
    </p>
    <p>
      Building: ${flatAd.building}
    </p>
    <p>
      flatImages: ${flatAd.flatImages}
    </p>
    <p>
      externalUrl: ${flatAd.externalUrl}
    </p>
    <p>
      externalImages: ${flatAd.externalImages}
    </p>
  </tiles:putAttribute>
</tiles:insertDefinition>